	<style>
		.summary{text-align: right; font-weight: bold;}
	#dialog-form fieldset input,#dialog-form fieldset select,#dialog-form textarea { margin-bottom:12px; width:95%; }
	#dialog-form fieldset { padding:0; border:0; margin-top:25px; }
	#dialog-form label{ display:block; }
	</style>

<div id="dialog-form">
	<fieldset>
		<input type="hidden" id="hdcodigo" name="hdcodigo">
		
		<label for="txtcod_perselab">Solicitante</label>
			<input type="hidden" id="hd_cod_pers" name="cod_pers" >
			<input type="text" name="txtcod_perselab" id="txtcod_perselab"  class="text ui-widget-content ui-corner-all" />
		
		<label for="txtfech_ing">Fecha de Requerimiento</label>
			<input type="text" name="txtfech_ing" id="txtfech_ing" style="width:130px;"  class="text ui-widget-content ui-corner-all" />
		
		<label for="txtds_obs">Obsevacion</label>
			<textarea id="txtds_obs" name="txtds_obs" class="text ui-widget-content ui-corner-all"></textarea>
	</fieldset>	
	<div align="center">
		<div id="frmdetalleAtend"> 
		<table id="tbl_detalleAtend" class="ui-widget ui-widget-content" >
				<thead>
					<tr class="ui-widget-header">
						<th width="200px">Materia Prima</th>
						<th width="210px">Presentacion</th>
						<th width="40px">Cant</th>
						<th width="50px">Lugar de Almmac.</th>
						<th width="30px"></th>
						<th width="40px">Cant Atend</th>
						<th style="display:none" col="codigo">Codigo</th>
					</tr>
				</thead>
				<tbody>
					<tr >
						<td>
							<input type="hidden" id="cod_mateprima" name="det[0][cod_mateprima]">
							<input  name="det[0][text_mateprima]" id="text_mateprima" type="text" value="" style="width: 200px" class="ui-widget-content ui-corner-all busmantprima ui-state-disabled " readonly="true">
						</td>
						<td>
							<select  name="det[0][cod_combin]" id="cod_combin" style="width: 210px" class="ui-widget-content ui-corner-all  ui-state-disabled " readonly="true"></select>							
						</td>
						<td>
							<input  name="det[0][cant]" id="cant" type="text" style="width: 70px" value=""  class="ui-widget-content ui-corner-all num ui-state-disabled" readonly="true">
						</td>
						<td>
							<input type="hidden" id="cod_div" name="det[0][cod_div]">
							<input  name="txt_lugaralmacen" id="txt_lugaralmacen" type="text" value=""  class="ui-widget-content ui-corner-all ui-state-disabled num" readonly="true">
						</td>
						<td>
							<button class="ui-state-default ui-corner-all actionbuscar" style="cursor: pointer;" >
								<span class="ui-icon ui-icon-search"></span>
							</button>
						</td>
						<td>
							<input  name="det[0][cantatend]" id="cantatend" type="text"  style="width: 70px" value="0.00"  class="ui-widget-content ui-corner-all num">							
						</td>
						<td style="display:none" ><input  name="det[0][tblcodigo]" id="tblcodigo" type="text" value=""></td>
					</tr>
				</tbody>
		</table>
		</div>
	</div>
	
</div>
<div id="result"></div>



